//
//  PauseButton.h
//  iFly
//
//  Created by Petko Haydushki on 12/8/14.
//  Copyright (c) 2014 TeamDifferent. All rights reserved.
//
#import <SpriteKit/SpriteKit.h>

@interface PauseButton : SKSpriteNode 
// game state
@property BOOL isGamePaused;
@property BOOL isParalaxPaused;

//creating pause button factory method
+(instancetype) pauseButtonWithPosition:(CGPoint) position inScene:(SKScene*) scene;

// pause-unpause logic
-(void) handlePause;
-(void) handleUnPause;

@end
